Auto merge of #4239 - Keruspe:master, r=alexcrichton
authorbors <bors@rust-lang.org>
Fri, 30 Jun 2017 05:49:34 +0000 (05:49 +0000)
committerbors <bors@rust-lang.org>
Fri, 30 Jun 2017 05:49:34 +0000 (05:49 +0000)
commitd2d6e675fcb70cfb91c2cf2fad8cdd345c120316
tree736e197065ed35fceb02c504ff4f13ea031f849b
parent1ee4edba1fa1a1d323be97bfec280764407d89e5
parentdc8d5d38d5dd958aec58ba5f8775a5fe5c75f9ea
Auto merge of #4239 - Keruspe:master, r=alexcrichton

hash '__CARGO_DEFAULT_LIB_METADATA' in metadata for rustc

We already have __CARGO_DEFAULT_LIB_METADATA to force adding the hash of some metadata in the libraries file name when building rust.
For now, we only check if it is set or not.
This patch makes also use of its value to compute the hash. This way we'll be able to pass in the channel we're building to avoid hash collisions between channels.
tests/build.rs